package com.huawei.hwid.core.d;

import android.content.Context;
import android.os.Handler;
import com.huawei.hwid.core.d.b.e;
import java.io.IOException;

class h$1 implements Runnable {
    final /* synthetic */ Context a;
    final /* synthetic */ Handler b;

    h$1(Context context, Handler handler) {
        this.a = context;
        this.b = handler;
    }

    public void run() {
        try {
            h.b(this.a, this.b);
        } catch (IOException e) {
            e.d("GlobalDownloadUtil", "Error occured when download global Asyn.", true);
            if (this.b != null) {
                this.b.sendEmptyMessage(10001);
            }
        }
    }
}
